<?php

namespace App\models;

use App\Observers\CollectObserver;
use Illuminate\Database\Eloquent\Model;

class Collect extends Model
{
   protected $guarded = [];
   public function good()
   {
      return $this->hasOne(Goods::class,'id','good_id');
   }


}
